package handlers

import (
	"github.com/gin-gonic/gin"
	"perm/models"
)

func JueSeList(c *gin.Context) {
	var juese models.JueSe
	err := models.DB.Find(&juese).Error
	if err != nil {
		c.JSON(200, gin.H{
			"code": 0,
			"msg":  "查询失败",
		})
		return
	}
	c.JSON(200, gin.H{
		"code": 0,
		"msg":  "查询成功",
	})
	return
}
